home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-03-30 | 2.9 KB | 118 lines |
- CC = cgcc
- CFLAGS = -O -mshort -I../h $(XFLAGS)
- LDFLAGS = -mshort -v
-
- SRCS= test0.c test1.c test2.c test3.c test4.c thand.c \
- hello.c bits.c faced.c klok.c charset.c dklok.c vtdemo.c \
- tetris.c testpollevent.c testlocalmenus.c multiwin.c
- OBJS= test0.o test1.o test2.o test3.o test4.o thand.o \
- hello.o bits.o faced.o klok.o charset.o dklok.o vtdemo.o \
- tetris.o testpollevent.o testlocalmenus.o multiwin.o
-
- GLIBES= -lstdwin16 -lgem16 -mshort -lpml16
- ALIBES= ../alfa/liba16.olb -lpml16 -ltermlib16 -mshort
-
- ALLG = test0.G16 test1.G16 test2.G16 test3.G16 test4.G16 hello.G16 bits.G16 \
- charset.G16 klok.G16 dklok.G16 faced.G16 tetris.G16 \
- testlocalmenus.G16 multiwin.G16 thand.G16
- #testpollevent.G16
-
- ALLA = test0.A16 test1.A16 test2.A16 test3.A16 test4.A16 hello.A16 bits.A16 \
- charset.A16 klok.A16 dklok.A16 faced.A16 vtdemo.A16 tetris.A16
-
- ALL= $(ALLG) # $(ALLA)
-
- all: $(ALL)
-
- .SUFFIXES: .G16 .A16
-
- .o.G16:
- $(CC) $(LDFLAGS) $*.o $(GLIBES) -o $*.G16
-
- .o.A16:
- $(CC) $(LDFLAGS) $*.o $(ALIBES) -o $*.A16
- clean:
- rm -f core *.o [,@#]*
-
- realclean: clean
- rm -f lib.a tags *.G16 *.A16
-
- # End Rules
- test0.o: test0.c
- test0.o: ../h/stdwin.h
- test0.o: ../h/stdevent.h
- test0.o: ../h/stdtext.h
- test1.o: test1.c
- test1.o: ../h/stdwin.h
- test1.o: ../h/stdevent.h
- test1.o: ../h/stdtext.h
- test2.o: test2.c
- test2.o: ../h/stdwin.h
- test2.o: ../h/stdevent.h
- test2.o: ../h/stdtext.h
- test3.o: test3.c
- test3.o: ../h/stdwin.h
- test3.o: ../h/stdevent.h
- test3.o: ../h/stdtext.h
- test4.o: test4.c
- test4.o: ../h/stdwin.h
- test4.o: ../h/stdevent.h
- test4.o: ../h/stdtext.h
- thand.o: thand.c
- thand.o: ../h/stdwin.h
- thand.o: ../h/stdevent.h
- thand.o: ../h/stdtext.h
- hello.o: hello.c
- hello.o: ../h/stdwin.h
- hello.o: ../h/stdevent.h
- hello.o: ../h/stdtext.h
- bits.o: bits.c
- bits.o: ../h/stdwin.h
- bits.o: ../h/stdevent.h
- bits.o: ../h/stdtext.h
- faced.o: faced.c
- faced.o: ../h/stdwin.h
- faced.o: ../h/stdevent.h
- faced.o: ../h/stdtext.h
- klok.o: klok.c
- klok.o: ../h/tools.h
- klok.o: ../h/configure.h
- klok.o: ../h/l_defs.h
- klok.o: ../h/stdwin.h
- klok.o: ../h/stdevent.h
- klok.o: ../h/stdtext.h
- klok.o: ./bsdsetdate.c
- charset.o: charset.c
- charset.o: ../h/tools.h
- charset.o: ../h/configure.h
- charset.o: ../h/l_defs.h
- charset.o: ../h/stdwin.h
- charset.o: ../h/stdevent.h
- charset.o: ../h/stdtext.h
- dklok.o: dklok.c
- dklok.o: ../h/stdwin.h
- dklok.o: ../h/stdevent.h
- dklok.o: ../h/stdtext.h
- dklok.o: ./sevenseg.h
- vtdemo.o: vtdemo.c
- vtdemo.o: ../h/stdwin.h
- vtdemo.o: ../h/stdevent.h
- vtdemo.o: ../h/stdtext.h
- vtdemo.o: ../h/vt.h
- tetris.o: tetris.c
- tetris.o: ../h/stdwin.h
- tetris.o: ../h/stdevent.h
- tetris.o: ../h/stdtext.h
- testpollevent.o: testpollevent.c
- testpollevent.o: ../h/stdwin.h
- testpollevent.o: ../h/stdevent.h
- testpollevent.o: ../h/stdtext.h
- testlocalmenus.o: testlocalmenus.c
- testlocalmenus.o: ../h/stdwin.h
- testlocalmenus.o: ../h/stdevent.h
- testlocalmenus.o: ../h/stdtext.h
- multiwin.o: multiwin.c
- multiwin.o: ../h/stdwin.h
- multiwin.o: ../h/stdevent.h
- multiwin.o: ../h/stdtext.h
-